<?php 

function p ($valus)
{
	echo "<pre>";
	print_r($valus);
	echo "</pre>";
}

function C($name=null,$value=null,$default=null){
	static $_config = array();
	if (empty($name)) 
	{
	    return $_config;
	}
	
	if (is_array($name)) 
	{
	    $_config = array_merge($_config,array_change_key_case($name,CASE_UPPER));
		return;
	}
	
}

function load_config($file,$parse=CONF_PARSE){
	$ext = pathinfo($file,PATHINFO_EXTENSION);
	switch ($ext) {
		case 'php':
			return include $file;
	}
}


 ?>